package com.gzsxy.esjy.service.netty.client;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 网卡路由设置（暂无用）
 * @author zhangxiaolong
 * @date 2022/7/11 9:36
 */
@Configuration
@ConditionalOnProperty(name="server.resources.proxy.enabled",havingValue="true")
@ConfigurationProperties(prefix="server.resources.proxy")
public class ProxyConfig {

	private List<ProxyTarget> targets ;

	public List<ProxyTarget> getTargets() {
		return targets;
	}

	public void setTargets(List<ProxyTarget> targets) {
		this.targets = targets;
	}
	
}
